Module: Category
Interfaces
Functions
Category
▸ Category(inProps
): JSX.Element
API documentation for the Community-JS Category Template. Learn about the available props and the CSS API.
This component renders a specific category's template. Take a look at our demo component here
Import
import {Category} from '@selfcommunity/react-templates';
Component Name
The name SCCategoryTemplate
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoryTemplate-root | Styles applied to the root element. |
feed | .SCCategoryTemplate-feed | Styles applied to the feed element. |
Parameters
Name | Type |
---|---|
inProps | CategoryProps |
Returns
JSX.Element
Defined in
CategorySkeleton
▸ CategorySkeleton(): JSX.Element
API documentation for the Community-JS Category Skeleton Template. Learn about the available props and the CSS API.
Import
import {CategorySkeleton} from '@selfcommunity/react-templates';
Component Name
The name SCCategoryTemplate-skeleton-root
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCCategoryTemplate-skeleton-root | Styles applied to the root element. |
Returns
JSX.Element